// Created by liusc on 2020/8/5-9:24.
<template>
  <div>
    <el-dialog :title="isEdit?'查看预算任务':'查看预算任务'" :visible.sync="dialogVisible" :close-on-click-modal="false" width="1200px">
      <el-form ref="edit-form" :model="form" :rules="rules" class="form-wrap" label-width="auto">
        <el-form-item label="预算编号" prop="budgetCode">
          <el-col class="in_txt" style="text-align: center;">{{form.budgetCode}}</el-col>
        </el-form-item>

        <el-form-item label="申请名称" prop="applyName">
          <el-col class="in_txt" style="text-align: center;">{{form.applyName}}</el-col>
        </el-form-item>

        <el-form-item label="选择部门" prop="applyDept">
          <el-select v-model="form.applyDept" multiple placeholder="请选择部门" disabled="disabled">
            <el-option v-for="item in lists" :key="item.value" :label="item.label" :value="item.value"></el-option>
          </el-select>
        </el-form-item>

        <el-form-item label="模板" prop="templateName">
          <el-col class="in_txt" style="text-align: center;">{{form.templateName}}</el-col>
        </el-form-item>

        <el-form-item label="申请时间" prop="applyTime">
          <el-col class="in_txt" style="text-align: center;">{{form.applyStart}} 至 {{form.applyEnd}}</el-col>
        </el-form-item>

        <el-form-item label="备注" prop="remarks">
          <el-col class="in_txt" style="text-align: center;">{{form.remarks}}</el-col>
        </el-form-item>
      </el-form>

      <div slot="footer">
        <el-button @click="dialogVisible = false">返 回</el-button>
      </div>
    </el-dialog>
  </div>
</template>

<script src="./initiate_look.js"></script>
<style scoped lang="scss">
@include formWrap(2);
</style>

